from django.urls import re_path, path, include
from rest_framework import routers
from . import views

# router = routers.DefaultRouter()

# router.register(r"NewToken", views.NewGamePlacetokenListViewSet, basename="10创建认证账户")

# router.register(r"Login", views.LoadGameConfListViewSet, basename="11登录服务器")

# router.register(r"ConfBaseLol", views.GamePlaceconfLolBaseViewSet, basename="20lol基本配置")
# router.register(
#     r"ConfLevelLol", views.GamePlaceconfLolLevelViewSet, basename="21lol段位系数"
# )
# router.register(
#     r"ConfTypesLol", views.GamePlaceconfLolTypesViewSet, basename="22lol赛制系数"
# )
# router.register(
#     r"ConfGroupLol", views.GamePlaceconfLolGroupViewSet, basename="23lol大区系数"
# )
# router.register(
#     r"ConfConsole", views.GamePlaceconfLolConsoleViewSet, basename="24LOL机位系数"
# )
# router.register(
#     r"ConfTimer", views.GamePlaceconfLolDateViewSet, basename="25lolLOL时间系数"
# )


# router.register(r"ShowLOL", views.GameLolHonebaoListViewSet, basename="30LOL玩家成就")
# router.register(r"PayLOL", views.GameLolHonebaoListPayedViewSet, basename="31LOL玩家兑换")

# # router.register(r"LOLPlayer", views.GameLolUseropenidListViewSet, basename="40LOL玩家账户")
# router.register(
#     r"LOLLogin", views.LoginGameLolUseropenidListViewSet, basename="41LOL玩家登录"
# )
# router.register(r"LOLPost", views.PostGameLolDataListViewSet, basename="42LOL游戏数据提交")

urlpatterns = [
    # path("", include(router.urls)),
    path("", views.Login.as_view()),
    path("login/", views.Login.as_view()),
    path("index/", views.Index.as_view()),
]
